#include <QtGui/QApplication>
#include <QtGui/QLabel>
#include <QtGui/QMainWindow>
int main(int argc, char* argv[])
{
   QApplication app(argc,argv);
   QMainWindow mainwindow;
   QLabel *label = new QLabel("<center>Central Widget</center>");
   mainwindow.setCentralWidget(label);
   mainwindow.show();
   return app.exec();
}